package com.content.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.content.model.dto.CoursePreviewDto;
import com.content.model.po.CoursePublish;

public interface CoursePublishService extends IService<CoursePublish> {
    CoursePreviewDto getCoursePreviewInfo(Long courseId);

    /**
     * @description 课程发布接口
     * @param companyId 机构id
     * @param courseId 课程id
     * @return void
     * @author Mr.M
     * @date 2022/9/20 16:23
     */
    public void publish(Long companyId,Long courseId);
}
